package com.itheima.properties;

import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.util.Properties;

public class Demo04 {

    public static void main(String[] args) throws IOException {
        Properties prop = new Properties();
        prop.setProperty("kunkun","qianqian");
        prop.setProperty("lulu","xiaotong");
        prop.setProperty("xiaomianyang","taotao");
        prop.store(new FileOutputStream("day13\\cfg.properties"),"我也不知道");



    }
}
